package cn.wangjun.org.service;

import cn.wangjun.basic.util.PageList;
import cn.wangjun.org.domain.Employee;
import cn.wangjun.org.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService {
    void add(Employee d);

    void upadte(Employee d);

    void del(Long id);

    Employee getById(Long id);

    List<Employee> getAll();

    /*
     分页查询
     */
    PageList<Employee> queryData(EmployeeQuery query);

    void patchDelete(List<Long> ids);
}
